package org.pinda.gui.loading;

import org.pinda.gui.Gui;

public interface ILoadingThread {
	
	/**
	 * The current progress of the loading thread
	 * @return a number between 0 and 100
	 */
	public byte getProgress();
	
	/**
	 * The actual loading happens in this function
	 * @param progressPhase A number splitting the loading section in part
	 */
	public void onTick(int progressPhase);
	
	/**
	 * A text which will be used to describe what is going on during the loading screen
	 * @return a text
	 */
	public String getStatus();
	
	/**
	 * The Gui to which the game should switch once the loading is done
	 * @return A gui
	 */
	public Gui getGui();

}
